<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head th:fragment="header(title, links)">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta property="_csrf" th:content="${_csrf.token}"/>
    <title th:replace="${title}">XXX管理系统</title>

    <link th:href="@{/static/css/bootstrap.min.css}" rel="stylesheet">
    <link th:href="@{/static/font-awesome/css/font-awesome.css}" rel="stylesheet">
    <link th:href="@{/static/css/animate.css}" rel="stylesheet">
    <link th:href="@{/static/css/plugins/jQueryUI/jquery-ui-1.10.4.custom.min.css}" rel="stylesheet">
    <link th:href="@{/static/css/plugins/jqGrid/ui.jqgrid.css}" rel="stylesheet">
    <link th:href="@{/static/css/plugins/formValidator/formValidation.min.css}" rel="stylesheet">
    <link th:href="@{/static/css/plugins/bootstrap-dialog/bootstrap-dialog.min.css}" rel="stylesheet">
    <th:block th:replace="${links}" />
    <link th:href="@{/static/css/style.css}" rel="stylesheet">
</head>

<body class="" th:fragment="body(pageHead, content, scripts)">
<div id="wrapper">
    <div th:replace="fragments/menu :: navbar"></div>

    <div id="page-wrapper" class="gray-bg">
        <div th:replace="fragments/header :: topbar"></div>

        <th:block th:replace="${pageHead}" />
        <th:block th:replace="${content}" />

        <div class="footer">
            <div class="pull-right">
                10GB of <strong>250GB</strong> Free.
            </div>
            <div>
                <strong>Copyright</strong> Example Company &copy; 2014-2017
            </div>
        </div>
    </div>
</div>

<!-- Mainly scripts -->
<script th:src="@{/static/js/jquery-3.1.1.min.js}"></script>
<script th:src="@{/static/js/bootstrap.min.js}"></script>
<script th:src="@{/static/js/plugins/metisMenu/jquery.metisMenu.js}"></script>
<script th:src="@{/static/js/plugins/slimscroll/jquery.slimscroll.min.js}"></script>

<!-- Custom and plugin javascript -->
<script th:src="@{/static/js/inspinia.js}"></script>
<script th:src="@{/static/js/plugins/pace/pace.min.js}"></script>

<!-- jqGrid -->
<script th:src="@{/static/js/plugins/jqGrid/i18n/grid.locale-cn.js}"></script>
<script th:src="@{/static/js/plugins/jqGrid/jquery.jqGrid.min.js}"></script>

<!-- formValidation-->
<script th:src="@{/static/js/plugins/formValidator/formValidation.min.js}"></script>
<script th:src="@{/static/js/plugins/formValidator/framework/bootstrap.min.js}"></script>
<script th:src="@{/static/js/plugins/formValidator/language/zh_CN.js}"></script>

<script th:src="@{/static/js/plugins/bootstrap-dialog/bootstrap-dialog.min.js}"></script>

<script th:src="@{/static/js/plugins-config.js}"></script>
<script th:src="@{/static/js/app.js}"></script>
<th:block th:replace="${scripts}" />
</body>
</html>
